<?php
namespace Block\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Block\Model\Language;

/**
 * 语言 class
 */
class LanguageController extends Controller
{
    /**
     * 语言列表
     *
     * @return void
     */
    public function index(){
        $data=Language::all(['lang','simplify','name','name_cn','country_iso_code','country_sign','status']);
        
        return $this->response($data->toArray());
    }


}
